package com.battle.pojo.vo.skillCertificate;

import cn.afterturn.easypoi.excel.annotation.Excel;
import jakarta.persistence.Column;
import lombok.Data;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.time.*;

/**
* 【描 述】：获取技能证书列表VO
* 【环 境】：J2SE 17
* 【详 细】：
*
*/
@Data
public class GetSkillCertificateListVo {

    /**
    *   id
    */
    private Long id;

    /**
     * 状态：0-失效 1-有效
     */
    @Excel(name = "状态:0-失效 1-有效", width = 20, isWrap = false)
    private Integer status;

    /**
     * 人员id
     */
    @Column()
    private Long userId;

    /**
     * 技能认证编码
     */
    @Column()
    @Excel(name = "技能认证编码", width = 20, isWrap = false)
    private String code;

    /**
     * 技能认证名称
     */
    @Column()
    @Excel(name = "技能认证名称", width = 20, isWrap = false)
    private String name;

    /**
     * 认证等级
     */
    @Column()
    @Excel(name = "认证等级", width = 20, isWrap = false)
    private String level;

    /**
     * 技能类型
     */
    @Column()
    @Excel(name = "技能类型", width = 20, isWrap = false)
    private String type;

    /**
     * 有效期开始时间 yyyy-MM-dd
     */
    @Column()
    @Excel(name = "有效期开始时间", width = 20, isWrap = false, exportFormat = "yyyy-MM-dd")
    private LocalDate startTime;

    /**
     * 有效期结束时间 yyyy-MM-dd
     */
    @Column()
    @Excel(name = "有效期结束时间", width = 20, isWrap = false, exportFormat = "yyyy-MM-dd")
    private LocalDate endTime;

    /**
     * 文件地址
     */
    @Column()
    @Excel(name = "证书", width = 20, isWrap = false)
    private String fileUrl;

    /**
     * 创建时间
     */
    @Column()
    @Excel(name = "上传时间", width = 20, isWrap = false, exportFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    @Column()
    @Excel(name = "上传人", width = 20, isWrap = false)
    private String createName;

}
